if statement

英 [ɪf ˈsteɪtmənt] 美 [ɪf ˈsteɪtmənt]

网络  IF语句; 陈述; 条件判断语句

计算机



双语例句

  1. The solution provided is remarkably simple: you add an extra if statement to the else clause.
    提供的解决方案非常简单:给else子句添加一个额外的if语句。
  2. You could do that using an if statement ( see Listing 12).
    应该使用if语句进行此工作(请参见清单12)。
  3. Then you use the conditional if statement to check the return code of the command.
    然后,您使用条件型if语句,以检查该命令的返回代码。
  4. The case statement is another conditional statement that you can use in place of using an if statement.
    case语句是另一种条件型语句,您可以用该语句来替代if语句。
  5. This article has introduced three Python program statements: the if statement, the while loop, and the for loop.
    本文介绍了三种Python程序语句:if语句、while循环和for循环。
  6. If so, the if statement executes a syntax off; otherwise it executes a syntax enable.
    如果是的话,if语句将执行一个syntaxoff命令;否则它将执行syntaxenable命令。
  7. Another new feature in Eclipse Galileo is the ability to generate blocks for the if statement.
    EclipseGalileo中的另一个新特性是为if语句生成代码块的能力。
  8. Isn't it nice how I can check if the directory exists via a simple if statement?
    如果我能通过一个简单的if语言检查目录是否已经存在,会不会更好一些?
  9. If statement execution returns an error, the procedure is automatically aborted or the transaction is rolled back.
    如果语句执行返回一个错误,过程将自动中断或回滚事务。
  10. The first if statement handles the client connection messages and adds each display information to the% disp hash.
    第一条if语句将处理客户机连接消息并把各个显示信息添加到%disphash中。
  11. This restriction is accomplished by using an appropriate if statement with a continue statement.
    此限制通过使用适当的if语句和continue语句来完成。
  12. They are equivalent to the IF statement used with DB2.
    它们与DB2中使用的IF语句等效。
  13. This little piece of code shows the conditional if statement.
    这一小段代码显示了条件型if语句。
  14. Finally, there is an if statement that performs some cleanup on the tag output on the report.
    最后,有一个if声明,会在报告上的标签输出执行一些清洁工作。
  15. The if statement executes a block of program statements if a Boolean expression evaluates True.
    if语句在一个布尔表达式计算为True时执行一个程序语句块。
  16. The first if statement breaks the recursion if the list is empty, returning zero.
    第一个if语句在列表为空的情况下中断递归,返回零值。
  17. However, unlike DB2, the END IF statement does not require a semicolon.
    但是,与DB2不同的是,ENDIF语句不需要使用分号。
  18. The if statement on line# 1 compares the values of variables a and b.
    第1行上的if语句将比较变量a和b的值。
  19. The initial if statement adds the clause request. format. to_sym==: iphone.
    初始的if语句将添加子句request.format.tosym==:iphone。
  20. Say we wanted to write a more verbose version of the if statement than the one Scheme offers.
    假设我们想编写一个比Scheme提供的版本更详细的if语句版本。
  21. Once you understand the if statement, the while loop is fairly simple to understand, as well.
    理解了if语句之后,while循环理解起来就相当简单了。
  22. Lisp also handles conditional constructs such as the if statement.
    Lisp也处理条件结构,如if语句。
  23. But the code shows how to implement a large if statement with a more object-oriented solution.
    但它展示了如何通过更加面向对象的解决方案来实现很大的if语句。
  24. The if statement lets you read from the connection when data is available and process the requests immediately.
    当数据可用时,if语句使您可以从连接进行读取,然后马上处理请求。
  25. Second, I don't care for the binary catch-all of the if statement.
    其次,我并不关心if语句的二进制总受器(catch-all)。
  26. This code prevents lookups from being performed until the@ If statement.
    这段代码可防止在@If语句之前执行查找。
  27. When you type in the if statement and the terminating colon, then press Return ( or Enter) on your keyboard, the Python interpreter realizes you have entered a compound statement.
    当键入if语句和终止的冒号,并按键盘上的回车键时,Python解释器就知道您输入了一个复合语句。
  28. Close the if statement, file loop, SFTP connection, and SSH session.
    结束if语句、文件循环、SFTP连接和SSH会话。
  29. An instance variable and an if statement are used skillfully in the process of design, which solves the problem of picture flash.
    在设计过程中,巧妙地使用了一个窗口实例变量和一个条件语句,解决了图片闪烁的问题。